package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.query.album.AlbumInfoQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface AlbumInfoService extends IService<AlbumInfo> {


    String uploadFile(MultipartFile file);

    void saveAlbumInfo(AlbumInfo albumInfo);


    IPage<Map<String, Object>> findUserAlbumPage(Page<Map<String, Object>> albumWithPage, AlbumInfoQuery albumInfoQuery);

}
